/*

* qWikiOffice Desktop 1.0

* Copyright(c) 2007-2008, Integrated Technologies, Inc.

* licensing@qwikioffice.com

*

* http://www.qwikioffice.com/license

*/

Ext.namespace('Ext.ux', 'QoDesk');

QoDesk.App = new Ext.app.App({
    init: function () {
        Ext.BLANK_IMAGE_URL = 'resources/images/default/s.gif';
        Ext.QuickTips.init();
    },

    /**

    * The member's name and group name for this session.

    */
    memberInfo: {
        name: 'Todd Murdock',
        group: 'Demo'
    },

    /**

    * An array of the module definitions.

    * The definitions are used until the module is loaded on demand.

    */
    modules: [{ "id": "demo-accordion", "type": "demo/accordion", "className": "QoDesk.AccordionWindow", "launcher": { "iconCls": "acc-icon", "shortcutIconCls": "demo-acc-shortcut", "text": "Accordion Window", "tooltip": "<b>Accordion Window<\/b><br \/>A window with an accordion layout" }, "launcherPaths": { "startmenu": "\/"} }, { "id": "demo-bogus", "type": "demo/bogus", "className": "QoDesk.BogusWindow", "launcher": { "iconCls": "bogus-icon", "shortcutIconCls": "demo-bogus-shortcut", "text": "Bogus Window", "tooltip": "<b>Bogus Window<\/b><br \/>A bogus window" }, "launcherPaths": { "startmenu": "\/Bogus Menu\/Bogus Sub Menu"} }, { "id": "demo-grid", "type": "demo/grid", "className": "QoDesk.GridWindow", "launcher": { "iconCls": "grid-icon", "shortcutIconCls": "demo-grid-shortcut", "text": "Grid Window", "tooltip": "<b>Grid Window<\/b><br \/>A grid window" }, "launcherPaths": { "startmenu": "\/"} }, { "id": "demo-layout", "type": "demo/layout", "className": "QoDesk.LayoutWindow", "launcher": { "iconCls": "layout-icon", "shortcutIconCls": "demo-layout-shortcut", "text": "Layout Window", "tooltip": "<b>Layout Window<\/b><br \/>A layout window" }, "launcherPaths": { "startmenu": "\/"} }, { "id": "demo-tab", "type": "demo/tab", "className": "QoDesk.TabWindow", "launcher": { "iconCls": "tab-icon", "shortcutIconCls": "demo-tab-shortcut", "text": "Tab Window", "tooltip": "<b>Tab Window<\/b><br \/>A tab window" }, "launcherPaths": { "startmenu": "\/"} }, { "id": "qo-preferences", "type": "system/preferences", "className": "QoDesk.QoPreferences", "launcher": { "iconCls": "qo-pref-icon", "shortcutIconCls": "qo-pref-shortcut-icon", "text": "QO Preferences", "tooltip": "<b>QO Preferences<\/b><br \/>Allows you to modify your desktop" }, "launcherPaths": { "contextmenu": "\/", "startmenutool": "\/"}}],

    /**

    * The members privileges.

    */
    privileges: { "qo-preferences": { "viewThemes": 1, "viewWallpapers": 1 }, "demo-layout": 1, "demo-grid": 1, "demo-bogus": 1, "demo-tab": 1, "demo-accordion": 1 },

    /**

    * The desktop config object.

    */
    desktopConfig: {
        appearance: { "fontColor": "333333", "taskbarTransparency": "100", "theme": { "id": 1, "name": "Blue", "file": "resources\/css\/xtheme-blue.css"} },
        background: { "color": "f9f9f9", "wallpaperPosition": "center", "wallpaper": { "id": 11, "name": "qWikiOffice", "file": "resources\/wallpapers\/qwikioffice.jpg"} },
        launchers: { "autorun": ["qo-preferences"], "quickstart": [], "shortcut": ["qo-preferences", "demo-bogus", "demo-accordion", "demo-grid", "demo-layout", "demo-bogus", "demo-tab"] },
        taskbarConfig: {
            buttonScale: 'large',
            position: 'bottom',
            quickstartConfig: {
                width: 120
            },
            startButtonConfig: {
                iconCls: 'icon-qwikioffice',
                text: 'Start'
            },
            startMenuConfig: {
                iconCls: 'icon-user-48',
                title: 'Todd Murdock',
                width: 320
            }
        }
    }
});